﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SmesharikiMVC.Models.VideoCollection
{
    public class YoutubeVideo
    {
        [Key]
        public int YoutubeVideoID { get; set; }

        [Required]
        public int EpisodeNo { get; set; }

        [Required]
        [Remote("CheckVideoName", "Validation")]
        public string VideoTitle { get; set; }

        //[Required]
        public string VideoDescription { get; set; }

        [Required]
        public string IconUrl { get; set; }

        [Required]
        public string YoutubeGuid { get; set; }
    }
}